package com.heima.feign;

import com.heima.common.dtos.FindNewsCommentsDto;
import com.heima.common.dtos.PageResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @BelongsProject: leadnews---practical--3
 * @BelongsPackage: com.heima.feign
 * @Author: 栋哥
 * @CreateTime: 2023-06-12  15:24
 * @Description: TODO
 * @Version: 1.0
 */
@FeignClient("leadnews-comment")
public interface CommentFeign {

    @PostMapping("/api/v1/comment/manage/find_news_comments")
    public PageResult findNewsComments(@RequestBody FindNewsCommentsDto dto);

}
